package com.fudan.adse.domain.po;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @desc mbg自动生成top_up_order表实体类
 * @date 2022-11-25 06:30
 */
public class TopUpOrder implements Serializable {
    private Integer id;

    /**
     * 充值编号
     *
     * @mbg.generated
     */
    private String uuid;

    /**
     * 用户名
     *
     * @mbg.generated
     */
    private String username;

    /**
     * 充值金额
     *
     * @mbg.generated
     */
    private BigDecimal amounts;

    /**
     * 货币类型，默认为 CNY
     *
     * @mbg.generated
     */
    private String currency;

    /**
     * 支付状态
     *
     * @mbg.generated
     */
    private String status;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 支付时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     * 支付方式
     *
     * @mbg.generated
     */
    private String type;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public BigDecimal getAmounts() {
        return amounts;
    }

    public void setAmounts(BigDecimal amounts) {
        this.amounts = amounts;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", uuid=").append(uuid);
        sb.append(", username=").append(username);
        sb.append(", amounts=").append(amounts);
        sb.append(", currency=").append(currency);
        sb.append(", status=").append(status);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", type=").append(type);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}